<!---->
<!--name:--><?php //echo $_POST['name'].'<br>' ?>
<!--yax:--><?php //echo $_POST['yax'] .'<br>' ?>
<!--ads:--><?php //echo $_POST['ads']."<br>" ?>
<!--jinis:--><?php
//if ($_POST["jinis"]==1) {
//    echo 'ogul';
//}
//else if ($_POST["jinis"]==0){
//    echo 'kiz';
//}
//?>


<!--<!doctype html>-->
<!--<html lang="en">-->
<!--<head>-->
<!--    <meta charset="UTF-8">-->
<!--    <meta name="viewport"-->
<!--          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">-->
<!--    <meta http-equiv="X-UA-Compatible" content="ie=edge">-->
<!--    <title>Document</title>-->
<!--</head>-->
<!--<body>-->
<!---->
<!--<table border="1" cellspacing="5" cellpadding="50" >-->
<!--    <tr>-->
<!--        <th>name</th>-->
<!--        <th>yax</th>-->
<!--        <th>ads</th>-->
<!--        <th>jinis</th>-->
<!--        <th>时间</th>-->
<!--        <th>kizkix</th>-->
<!---->
<!--    </tr>-->
<!--    <tr>-->
<!--        <td>--><?php //echo $_POST['name'] ?><!--</td>-->
<!--        <td>--><?php //echo $_POST['yax'] ?><!--</td>-->
<!--        <td>--><?php //echo $_POST['ads'] ?><!--</td>-->
<!--        <td>--><?php //echo $_POST["jinis"]==1?'男':'女'?><!--</td>-->
<!--        <td>--><?php //echo $_POST['h'] ?><!--</td>-->
<!--    </tr>-->
<!---->
<!---->
<!--</table>-->
<!---->
<!--</body>-->
<!--</html>-->
<!---->


<?php
$kalgan_user_name = $_POST['name'];
$kalgan_user_yax = $_POST['yax'];
$kalgan_user_ads = $_POST['ads'];
$kalgan_user_jinis = $_POST["jinis"];

$server = "localhost";
$user_name = "root";
$paswoord = "root";
$DB = "tawuzzz";
$ulinix = mysqli_connect($server, $user_name, $paswoord, $DB);

if ($ulinix) {
    $add_ok="insert into man(name,,ads,jinis) values('$kalgan_user_name','$kalgan_user_ads','$kalgan_user_jinis')";
    $db_insert_ok = mysqli_query($ulinix, $add_ok);
    if ($db_insert_ok) {
        echo "uqur koxux muwapikyatlik bolai";
    } else {
        echo "hatalik: ".mysqli_error($ulinix);
    }
} else {
    mysqli_connect_error();
}
?>
<!---->
<!--$db_add_ok = mysqli_query($ulinix,$db_add);-->
<!--if($db_add){-->
<!--$add_table="create table man (id int auto_increment, name varchar(30),yax int,ads varchar(30),jinis varchar(30))";-->
<!--$addd=mysqli_query("insert into $add_table (name,yax,ads,jinis) values('$kalgan_user_name','$kalgan_user_yax','$kalgan_user_ads','$kalgan_user_jinis')");-->
<!--$db_table_ok = mysqli_query($add_table,$addd);-->
<!--if($db_table_ok){-->
<!--echo 'koxux ok';-->
<!---->
<!--}else{-->
<!--echo "table add orror";-->
<!--}-->
<!--}else{-->
<!--echo 'hatalik boldi'.mysqli_error();-->
<!--}-->


<!--$add_table = "create table man (id int primary key auto_increment, name varchar(30),yax int,ads varchar(30),jinis varchar(30))";-->
<!--$db_table_ok = mysqli_query($ulinix, $add_table);-->